package my.study.java.basic.init;


public class InitEx01 {
	public static MyClass myclass = new MyClass(0);
	static {
		myclass = new MyClass(1);
	}
	/*
	 *  初识化顺序：类静态初始化，静态块，构造函数
	 */
	public static void main(String[] args) {
		System.out.println("Main");
		MyClass class1 = new MyClass();
		class1.toString();
	}

}

class MyClass {
	MyClass(int...u) {
		this(200);
	}
	MyClass(int i) {
		System.out.println("MyClass Init:" + i);		
	}
}
